package com.esiran.payadmin.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

@TableName("transaction")
public class Transaction {

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("num")
    private String num;
    @TableField("amount")
    private Long amount;
    @TableField("state")
    private Long state;
    @TableField("payWay")
    private Long payWay;
    @TableField("outTxNum")
    private String outTxNum;
    @TableField("createTime")
    private java.util.Date createTime;
    @TableField("updateTime")
    private java.util.Date updateTime;


    public Long getId() {
      return id;
    }

    public void setId(Long id) {
      this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Long getAmount() {
      return amount;
    }

    public void setAmount(Long amount) {
      this.amount = amount;
    }


    public Long getState() {
      return state;
    }

    public void setState(Long state) {
      this.state = state;
    }


    public Long getPayWay() {
      return payWay;
    }

    public void setPayWay(Long payWay) {
      this.payWay = payWay;
    }


    public String getOutTxNum() {
      return outTxNum;
    }

    public void setOutTxNum(String outTxNum) {
      this.outTxNum = outTxNum;
    }


    public java.util.Date getCreateTime() {
      return createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
      this.createTime = createTime;
    }


    public java.util.Date getUpdateTime() {
      return updateTime;
    }

    public void setUpdateTime(java.util.Date updateTime) {
      this.updateTime = updateTime;
    }

}
